package main

import (
    "fmt"
    "runtime"
    "time"
)

func main() {
	fmt.Printf("cpu: %d\n", runtime.NumCPU())
    //runtime.GOMAXPROCS(runtime.NumCPU())
    go sheep(1)
    go sheep(10000)
    time.Sleep(time.Millisecond)
}
func sheep(i int) {
    for ; ; i += 2 {
        fmt.Println(i)
    }
}